package com.ruoqing.blog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoqing.core.domain.rqblog.BlogIntroducePo;
import org.apache.ibatis.annotations.Param;

/**
    * @title: BlogIntroduceDao
    * @projectName ruoxi-blog
    * @description: 若兮微服务 - 博客服务 - 博客简介持久层
    * @author YaoXian
    * @date 2021-01-20 11:56
    */
public interface BlogIntroduceDao extends BaseMapper<BlogIntroducePo> {
  
  /**
   *  根据Id增加博客
   * @param blogId 博客Id编号
   * @param viewCount 观看数量
   * @return int
   */
  int updateViewCountById(@Param("viewCount") Integer viewCount, @Param("blogId") Integer blogId);
  
}